﻿using Newtonsoft.Json;
using PeterHan.PLib.Options;

namespace oxygen_mod
{
    [RestartRequired]
    [JsonObject(MemberSerialization.OptIn)]
    [ConfigFile("Controler.json", true, false)]
    [ModInfo("https://www.xwltz.site", "mm.png", true)]
    public class ModSettings
    {
        [Option("时间", "TimeNum", null, Format = "F0")]
        [Limit(1.0, 10.0)]
        [JsonProperty]
        public float TimeNum { get; set; } = 2f;

        [Option("米虱", "RiceLiceNum", null)]
        [Limit(1.0, 10.0)]
        [JsonProperty]
        public float RiceLiceNum { get; set; } = 10f;
    }
}
